package org.hxyjs.service;

import org.hxyjs.dto.DTO;
import org.hxyjs.entity.Cheforder;
import org.hxyjs.page.PageInfo;

public interface CheforderService {
    /**
     * 查询全部学生
     * @return
     */
    public DTO<Cheforder> getAllCheforders() throws Exception;

    /**
     * 删除学生
     * @param cuno
     * @return
     * @throws Exception
     */
    public DTO<Cheforder> deleteCheforderByCuno(String cuno) throws Exception;
    /**
     *  修改学生
     * @param chefOrder
     * @return
     */
    public DTO<Cheforder> updateCheforderByCuno(Cheforder chefOrder)  throws Exception;
    /**
     *  增加学生
     * @param chefOrder
     * @return
     */
    public DTO<Cheforder> addCheforder(Cheforder chefOrder)  throws Exception;

    /**
     * 根据主键查询学生
     * @param cuno
     * @return
     * @throws Exception
     */
    public DTO<Cheforder> getCheforderByCuno(String cuno) throws Exception;

    /**
     *
     * @param pageInfo
     * @return
     * @throws Exception
     */
     public DTO<Cheforder> getCheforderByPage(PageInfo pageInfo) throws Exception;


}
